package com.ahwei.user.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * 这是一个Java文件！
 * @author：ahWei
 * @email：ahwei163@qq.com
 * @since： 2022-05-24 16:49:15
 * @EnableDiscoveryClient//把微服务自动注册到nacos服务器中
 */
@Configuration
@EnableDiscoveryClient
@MapperScan(basePackages = {"com.ahwei.**.mapper"})
public class UserConfiguration implements WebMvcConfigurer {
}